[INFO] cloning repository https://github.com/zonyon/dnsproject
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zonyon/dnsproject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbe252a162b71e2bac954cb238039ef1643d78dc
[INFO] fixing zonyon/dnsproject against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zonyon/dnsproject
[INFO] finished tweaking git repo https://github.com/zonyon/dnsproject
[INFO] tweaked toml for git repo https://github.com/zonyon/dnsproject written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zonyon/dnsproject on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zonyon/dnsproject already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf
[INFO] running `Command { std: "docker" "start" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tp2bis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/DnsHeader.rs (2 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/DnsHeader.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/DnsHeader.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s
[INFO] [stderr] crater-edition-check: tp2bis v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking tp2bis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/DnsHeader.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AAAA`, `A`, `Cname`, `MX`, `NS`, and `Ptr`
[INFO] [stdout]  --> src/DnsQuestion.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::DnsQuestion::Dnsrtype::{A, AAAA, Cname, MX, NS, Ptr};
[INFO] [stdout]   |                                    ^  ^^^^  ^^^^^  ^^  ^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/DnsQuestion.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if (c != 0x0001) {
[INFO] [stdout]    |            ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -         if (c != 0x0001) {
[INFO] [stdout] 34 +         if c != 0x0001  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::DnsHeader::DnsHeader`
[INFO] [stdout]  --> src/DnsRR.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::DnsHeader::DnsHeader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/DnsHeader.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AAAA`, `A`, `Cname`, `MX`, `NS`, and `Ptr`
[INFO] [stdout]  --> src/DnsQuestion.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::DnsQuestion::Dnsrtype::{A, AAAA, Cname, MX, NS, Ptr};
[INFO] [stdout]   |                                    ^  ^^^^  ^^^^^  ^^  ^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/DnsQuestion.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |         if (c != 0x0001) {
[INFO] [stdout]    |            ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -         if (c != 0x0001) {
[INFO] [stdout] 34 +         if c != 0x0001  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::DnsHeader::DnsHeader`
[INFO] [stdout]  --> src/DnsRR.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::DnsHeader::DnsHeader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/DnsPacket.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/DnsPacket.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let answer: u16 = self.header.ancount();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `authority`
[INFO] [stdout]   --> src/DnsPacket.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let authority: u16 = self.header.nscount();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authority`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `additional`
[INFO] [stdout]   --> src/DnsPacket.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let additional: u16 = self.header.arcount();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/DnsQuestion.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(a: &str, b: Dnsrtype, mut c: u16) -> DnsQuestion {
[INFO] [stdout]    |                                      ----^
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { listRR.push(c); }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     unsafe { listRR.push(k); }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/DnsHeader.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct DnsHeader {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  6 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  7 |     qr: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     opcode: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     aa: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     tc: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     rd: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     ra: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     z: bool,
[INFO] [stdout]    |     ^
[INFO] [stdout] 14 |     rcode: i16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     qdcount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     ancount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     nscount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 18 |     arcount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/DnsHeader.rs:47:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl DnsHeader {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn qr(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     pub fn aa(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn tc(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub fn rd(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn ra(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn z(&self) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     pub fn rcode(&self) -> i16 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn qdcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn ancount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn nscount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn arcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn set_id(&mut self, id: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn set_qr(&mut self, qr: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn set_opcode(&mut self, opcode: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn set_aa(&mut self, aa: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn set_tc(&mut self, tc: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn set_rd(&mut self, rd: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_ra(&mut self, ra: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn set_z(&mut self, z: bool) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn set_rcode(&mut self, rcode: i16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set_qdcount(&mut self, qdcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_ancount(&mut self, ancount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn set_nscount(&mut self, nscount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn set_arcount(&mut self, arcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/DnsPacket.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header` and `question` are never read
[INFO] [stdout]  --> src/DnsPacket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DnsPacket {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 5 |     header: DnsHeader::DnsHeader,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     question: DnsQuestion::DnsQuestion,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `genereRR` is never used
[INFO] [stdout]   --> src/DnsPacket.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DnsPacket{
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `qname`, `Dnsrtype`, and `qclass` are never read
[INFO] [stdout]  --> src/DnsQuestion.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DnsQuestion {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 4 |     qname: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Dnsrtype: Dnsrtype,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     qclass: u16,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `A`, `NS`, `MX`, `Cname`, and `Ptr` are never constructed
[INFO] [stdout]   --> src/DnsQuestion.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Dnsrtype {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 12 |     A,
[INFO] [stdout]    |     ^
[INFO] [stdout] 13 |     AAAA,
[INFO] [stdout] 14 |     NS,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     MX,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     Cname,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Ptr
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/DnsPacket.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let answer: u16 = self.header.ancount();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `no` is never used
[INFO] [stdout]   --> src/DnsQuestion.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Dnsrtype {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 20 |     pub fn no(&self) -> i32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `qclass`, `set_Dnsrtype`, `set_qclass`, `Dnsrtype`, `qname`, and `set_qname` are never used
[INFO] [stdout]   --> src/DnsQuestion.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl DnsQuestion {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn qclass(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn set_qclass(&mut self, qclass: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn Dnsrtype(&self) -> &Dnsrtype {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn qname(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn set_qname(&mut self, qname: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `question`, `ttl`, `rdlength`, and `rdata` are never read
[INFO] [stdout]  --> src/DnsRR.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DnsRR {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     question : DnsQuestion::DnsQuestion,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     ttl: i32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     rdlength: i16,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     rdata: u32
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dnsrtype` is never used
[INFO] [stdout]   --> src/DnsRR.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Dnsrtype {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/DnsRR.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl DnsRR {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn question(&self) -> &DnsQuestion::DnsQuestion {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn ttl(&self) -> i32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn rdlength(&self) -> i16 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn rdata(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn set_question(&mut self, question: DnsQuestion::DnsQuestion) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn set_ttl(&mut self, ttl: i32) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn set_rdlength(&mut self, rdlength: i16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn set_rdata(&mut self, rdata: u32) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsHeader` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod DnsHeader;
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to snake case: `dns_header`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsPacket` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod DnsPacket;
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to snake case: `dns_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsQuestion` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod DnsQuestion;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsRR` should have a snake case name
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod DnsRR;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `dns_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `listRR` should have a snake case name
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut listRR: Vec<DnsRR::DnsRR> = vec![];
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `list_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/DnsHeader.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `genereRR` should have a snake case name
[INFO] [stdout]   --> src/DnsPacket.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `genere_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Dnsrtype` should have a snake case name
[INFO] [stdout]  --> src/DnsQuestion.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Dnsrtype: Dnsrtype,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:52:36
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |                                    ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn Dnsrtype(&self) -> &Dnsrtype {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `authority`
[INFO] [stdout]   --> src/DnsPacket.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let authority: u16 = self.header.nscount();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authority`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `additional`
[INFO] [stdout]   --> src/DnsPacket.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let additional: u16 = self.header.arcount();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/DnsQuestion.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(a: &str, b: Dnsrtype, mut c: u16) -> DnsQuestion {
[INFO] [stdout]    |                                      ----^
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { listRR.push(c); }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     unsafe { listRR.push(k); }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/DnsHeader.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct DnsHeader {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  6 |     id: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  7 |     qr: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     opcode: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  9 |     aa: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     tc: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     rd: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     ra: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 13 |     z: bool,
[INFO] [stdout]    |     ^
[INFO] [stdout] 14 |     rcode: i16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     qdcount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     ancount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     nscount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 18 |     arcount: u16,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/DnsHeader.rs:47:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl DnsHeader {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn qr(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     pub fn aa(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn tc(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub fn rd(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn ra(&self) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     pub fn z(&self) -> bool {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     pub fn rcode(&self) -> i16 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn qdcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn ancount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn nscount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn arcount(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn set_id(&mut self, id: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn set_qr(&mut self, qr: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn set_opcode(&mut self, opcode: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn set_aa(&mut self, aa: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn set_tc(&mut self, tc: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn set_rd(&mut self, rd: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn set_ra(&mut self, ra: bool) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn set_z(&mut self, z: bool) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn set_rcode(&mut self, rcode: i16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set_qdcount(&mut self, qdcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_ancount(&mut self, ancount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn set_nscount(&mut self, nscount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn set_arcount(&mut self, arcount: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tp2bis` (bin "tp2bis" test) due to 1 previous error; 32 warnings emitted
[INFO] [stdout] warning: fields `header` and `question` are never read
[INFO] [stdout]  --> src/DnsPacket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DnsPacket {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 5 |     header: DnsHeader::DnsHeader,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     question: DnsQuestion::DnsQuestion,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `genereRR` is never used
[INFO] [stdout]   --> src/DnsPacket.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DnsPacket{
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `qname`, `Dnsrtype`, and `qclass` are never read
[INFO] [stdout]  --> src/DnsQuestion.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DnsQuestion {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 4 |     qname: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Dnsrtype: Dnsrtype,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     qclass: u16,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `A`, `NS`, `MX`, `Cname`, and `Ptr` are never constructed
[INFO] [stdout]   --> src/DnsQuestion.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Dnsrtype {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 12 |     A,
[INFO] [stdout]    |     ^
[INFO] [stdout] 13 |     AAAA,
[INFO] [stdout] 14 |     NS,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 15 |     MX,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     Cname,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Ptr
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `no` is never used
[INFO] [stdout]   --> src/DnsQuestion.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Dnsrtype {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 20 |     pub fn no(&self) -> i32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `qclass`, `set_Dnsrtype`, `set_qclass`, `Dnsrtype`, `qname`, and `set_qname` are never used
[INFO] [stdout]   --> src/DnsQuestion.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl DnsQuestion {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn qclass(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn set_qclass(&mut self, qclass: u16) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn Dnsrtype(&self) -> &Dnsrtype {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn qname(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn set_qname(&mut self, qname: String) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `question`, `ttl`, `rdlength`, and `rdata` are never read
[INFO] [stdout]  --> src/DnsRR.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct DnsRR {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     question : DnsQuestion::DnsQuestion,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     ttl: i32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     rdlength: i16,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     rdata: u32
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dnsrtype` is never used
[INFO] [stdout]   --> src/DnsRR.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Dnsrtype {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/DnsRR.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl DnsRR {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn question(&self) -> &DnsQuestion::DnsQuestion {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn ttl(&self) -> i32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn rdlength(&self) -> i16 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn rdata(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn set_question(&mut self, question: DnsQuestion::DnsQuestion) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn set_ttl(&mut self, ttl: i32) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn set_rdlength(&mut self, rdlength: i16) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn set_rdata(&mut self, rdata: u32) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsHeader` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod DnsHeader;
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to snake case: `dns_header`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsPacket` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod DnsPacket;
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to snake case: `dns_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsQuestion` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod DnsQuestion;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_question`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DnsRR` should have a snake case name
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod DnsRR;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `dns_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `listRR` should have a snake case name
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut listRR: Vec<DnsRR::DnsRR> = vec![];
[INFO] [stdout]    |             ^^^^^^ help: convert the identifier to snake case: `list_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/DnsHeader.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             while LIST_ID.contains(&temp) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `genereRR` should have a snake case name
[INFO] [stdout]   --> src/DnsPacket.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn genereRR(mut self){
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `genere_rr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tp2bis` (bin "tp2bis") due to 1 previous error; 32 warnings emitted
[INFO] [stdout] warning: structure field `Dnsrtype` should have a snake case name
[INFO] [stdout]  --> src/DnsQuestion.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Dnsrtype: Dnsrtype,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:52:36
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) {
[INFO] [stdout]    |                                    ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Dnsrtype` should have a snake case name
[INFO] [stdout]   --> src/DnsQuestion.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn Dnsrtype(&self) -> &Dnsrtype {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf", kill_on_drop: false }`
[INFO] [stdout] 421626c7974b08970c7a20019e0b9be6ede4580392c69be33dff8f8b31e61ccf
